package com.ayf.payment.game.api.exception;

/**
 * @Description: 运行时异常父类
 * @Author: zh-liang
 * @Date : 2019-12-06 16:52
 */
public class BasicRuntimeException extends RuntimeException {
    private int code;

    private String msg;

    public BasicRuntimeException(int code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

}
